﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SingleThread {
    class Program {

        static void Main(string[] args) {
            //Console.WriteLine("HelloWorld!");
            //Console.ReadKey();

            try {
                Item item = new Item();

            } catch (Exception ex) {
                Console.WriteLine("catched");   
            }
            try {
                Item item2 = new Item();
            } catch (Exception) {
                Console.WriteLine("catched2");
            }

            //Item a = new Item();

            //try {
            //    Console.WriteLine("HelloWorld!");
            //    Console.ReadKey();
            //    //item.PrintMessage();
            //    //fa.PrintMessage();
            //} catch (Exception) {
            //    Console.WriteLine("Exception catched!");
            //}
            //Console.ReadKey();
        }




    }
}
